package com.huanong.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;

@Api(value = "测试controller", tags = {"测试的controller"})
@CrossOrigin(origins = "*")
public interface HelloControllerApi {

    @ApiOperation(value = "hello方法接口", notes = "hello方法接口", httpMethod = "GET")
    @GetMapping("/hello")
    public Object hello();
}
